cmake_minimum_required(VERSION 3.9.1)
project(c_demo C)

set(CMAKE_C_STANDARD 99)

add_executable(c_demo main.c openfile.cpp openfile.c)